home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Views
/
VerticalSpacer.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
488b
|
28 lines
// VerticalSpacer.h
#ifndef VerticalSpacer_h
#define VerticalSpacer_h
#ifndef SolidView_h
#include "SolidView.h"
#endif
class VerticalSpacer: public SolidView
{
private:
const uint16 height;
public:
VerticalSpacer( uint16 theHeight,
const RGBColor& color = NamedColors::white )
: SolidView( color ),
height( theHeight )
{}
virtual uint16 MinimumHeight() const;
virtual uint16 MaximumHeight() const;
virtual uint16 BestWidth() const;
};
#endif